import { BTCCulvertApi } from '@/api'
import CommonModel from './common'

// 桥隧涵-涵洞
class BTCCulvertModel extends CommonModel {
    constructor() {
        super()
        this.api = new BTCCulvertApi()
    }

    validNameUnique(data) {
        return this.api.validNameUnique(data)
    }
    validCodeUnique(data) {
        return this.api.validCodeUnique(data)
    }
    // 根据所属高速、方向获取线路
    async getCodeNameList(data) {
        const res = await this.api.getCodeNameList(data)
        return res
    }
}

export default BTCCulvertModel
